From: Sébastien Villemot Date: Mon, 20 Sep 2021 15:41:09 +0000 (+0100) Subject: Various fixes for kFreeBSD shared library X-Git-Tag: archive/raspbian/0.3.17+ds-3+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=363110101d1b8b4c3f0933254fa74365a7b00ec6;p=openblas.git Various fixes for kFreeBSD shared library Forwarded: not-needed Last-Update: 2014-08-05 Under kFreeBSD, give a SONAME to the shared library and install it. Also link it against libm. Simply use the same code as Linux for all these operations. Last-Update: 2014-08-05 Gbp-Pq: Name kfreebsd.patch --- diff --git a/Makefile.system b/Makefile.system index bb8c60e..dd9effd 100644 --- a/Makefile.system +++ b/Makefile.system @@ -368,7 +368,7 @@ ifeq ($(OSNAME), NetBSD) MD5SUM = md5 -n endif -ifeq ($(OSNAME), Linux) +ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD)) EXTRALIB += -lm NO_EXPRECISION = 1 endif